<?php
	if ( $this->pageCount ):?>
		<div class="paginacao">
			<?php
			if ( isset( $this->previous ) ):?>
				<a href="<?php echo $this->url( array( "page" => $this->first ) );?>">Primeira</a>
				<a href="<?php echo $this->url( array( "page" => $this->previous ) );?>">Anterior</a>
			<?php
			else:?>
				<span class="disabled_paginacao">Primeira</span>
				<span class="disabled_paginacao">Anterior</span>
			<?php
			endif;
			foreach ( $this->pagesInRange as $page ):
				if ( $page != $this->current ):?>
					<a href="<?php echo $this->url( array( "page" => $page ) );?>"><?php echo $page;?></a>
				<?php
				else:?>
					<span class="active_tnt_link"><?php echo $page;?></span>
				<?php endif;
			endforeach;
			if ( isset( $this->next ) ):?>
				<a href="<?php echo $this->url( array( "page" => $this->next ) ) ?>">Pr&oacute;ximo</a>
				<a href="<?php echo $this->url( array( "page" => $this->last ) ) ?>">&Uacute;ltima</a>
	        <?php
	        else:?>
				<span class="disabled_paginacao">Pr&oacute;ximo</span>
				<span class="disabled_paginacao">&Uacute;ltima</span>
			<?php
			endif;?>
		</div>
<?php
	endif;?>